﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Yatagan.WindowsApp
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Configuration.Configuration.Current.LoadConfiguration(Application.StartupPath + "\\" + "YataganConfiguration.xml");
            
            IoC.Current.Instance.Load(Configuration.Configuration.Current.Element.IoC);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());

            
        }
    }
}
